package com.fin.quant.app.vo;

import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 投资组合VO
 */
@Data
public class PortfolioVO {
    private Long id;
    private String portfolioCode;
    private String portfolioName;
    private Long ownerId;
    private String description;
    private String portfolioType; // 'STOCK' | 'FUND' | 'MIXED' | 'FUTURES'
    private String riskLevel; // 'LOW' | 'MEDIUM' | 'HIGH'
    private String startDate;
    private String endDate;
    private Double initialCapital;
    private Double currentValue;
    private String remark;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;

    // 计算字段
    private PortfolioMetricsVO metrics;
    private List<String> assets; // 资产代码列表
}

